package org.jeecg.modules.htxincailiao.order.service.impl;

import org.jeecg.modules.htxincailiao.order.entity.HTOrderGoods;
import org.jeecg.modules.htxincailiao.order.mapper.HTOrderGoodsMapper;
import org.jeecg.modules.htxincailiao.order.service.IHTOrderGoodsService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: ht_order_goods
 * @Author: jeecg-boot
 * @Date:   2021-11-10 14:36:14
 * @Version: V1.0
 */
@Service
public class HTOrderGoodsServiceImpl extends ServiceImpl<HTOrderGoodsMapper, HTOrderGoods> implements IHTOrderGoodsService {

    @Override
    public List<HTOrderGoods> findAllByOrderId(String orderId) {
        return baseMapper.findAllByOrderId(orderId);
    }

    @Override
    public List<HTOrderGoods> findAllByShopId(String shopId) {
        return baseMapper.findAllByShopId(shopId);
    }
}
